import json


def main(arg1: list) -> list:
    out = []
    for i in arg1:
        url = i.get("url", "")
        out.append(url)
    return out


if __name__ == "__main__":
    test_data = [
        {
            "url": "https://www.w3cschool.cn/vscode/list",
            "scrape_id": "511b68c9-cc98-4217-a598-b518a4594dc5",
        },
        {
            "url": "https://www.w3cschool.cn/vscode/vscode-keyboard.html",
            "scrape_id": "511b68c9-cc98-4217-a598-b518a4594dc5",
        },
        {
            "url": "https://www.w3cschool.cn/vscode/vscode-zwav3p3l.html",
            "scrape_id": "511b68c9-cc98-4217-a598-b518a4594dc5",
        },
        {
            "url": "https://www.w3cschool.cn/vscode/vscode-intro.html",
            "scrape_id": "511b68c9-cc98-4217-a598-b518a4594dc5",
        },
    ]
    result = main(test_data)
    print(result)
